package com.wander.designCreational.proxyAndDecorate.decorate;


import com.wander.designCreational.proxyAndDecorate.BitterCoffee;
import com.wander.designCreational.proxyAndDecorate.Coffee;

/**
 * @Author : WDYin
 * @Date : 2019/12/10
 * @Description : 加糖的点餐逻辑
 */
public class OrderSugar {
    public static void main(String[] args) {
        Coffee coffee = new BitterCoffee();
        CoffeDecorate coffeDecorate = new CoffeDecorate(coffee);
        coffeDecorate.printlnMaterial();
    }
}
